node_dlang ~master (2022-04-11T07:35:48.1179467)
Dub
Repo
exportToJs
node_dlang
Undocumented in source.
mixin template
exportToJs (
Exportables
...
) {
import
node_api
;
;
import
js_native_api
;
;
import
std
.
string
:
toStringz
;
;
import
std
.
traits
;
;
napi_value
exportToJs
(napi_env env, napi_value exports);
extern (
C
) static __gshared
napi_module
_module
;
version
(
Windows
)
version
(
DigitalMars
)
void
main
();
static
void
_register_NAPI_MODULE_NAME
();
}
Members
Functions
exportToJs
napi_value
exportToJs
(napi_env env, napi_value exports)
Undocumented in source. Be warned that the author may not have intended to support it.
main
void
main
()
Undocumented in source. Be warned that the author may not have intended to support it.
Static functions
_register_NAPI_MODULE_NAME
void
_register_NAPI_MODULE_NAME
()
Undocumented in source. Be warned that the author may not have intended to support it.
Static variables
_module
napi_module
_module
;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
Meta
Source
See Implementation
node_dlang
aliases
Console
ExternC
ExternD
ScopedJSObj
func
classes
JSException
functions
aaToNapi
algebraicToNapi
arrayToNapi
boolToNapi
callNapi
callableToNapi
callbackToNapi
constructor
delegateToNapi
fromJsPtr
fromNapi
getAA
getArray
getDgPointer
getFloat
getJSVar
getJSobj
getNullable
getStaticArray
getStr
getStruct
getTypedArray
global
inJSScope
isMainFunction
isUndefined
jsFunction
jsLog
jsObjToNapi
jsVarToNapi
napiIdentity
nullableToNapi
p
reference
stringToNapi
structToNapi
throwInJS
toNapiValue
toNapiValueArray
tupleToNapi
typedArrayToNapi
undefined
val
withNapiExpectedSignature
mixin templates
exportToJs
structs
JSObj
JSVar
Named
Promise
TypedArray
templates
MainFunction
Returns
fromNapiB
isVariantN
toNapi
variables
console